feat: [M3-8005] – Add disk_encryption
to types & validation schemas
#10413
+33
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description 📝
Add
disk_encryption
to types & validation schemas as appropriate based on the API spec (see ticket for link)Changes 🔄
EncryptionStatus
type added;disk_encryption
field added toLinode
,Disk
,CreateLinodeRequest
, andRebuildRequest
interfacesdisk_encryption
added toCreateLinodeSchema
andRebuildLinodeSchema
; it is nullable and optional, but if provided should have a value of either "enabled" or "disabled"Note
@TODO LDE: remove optionality once LDE is fully rolled out
was added as a comment to a few new properties. These are instances where, when LDE is fully rolled out,disk_encryption
will always be included on that object. I think marking them as optional at this point is fair because not doing so would be premature, and also likely confuse consumers of the JS Client.Target release date 🗓️
5/13/24
How to test 🧪
Verification steps
disk_encryption
field)As an Author I have considered 🤔